FROM node:lts-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --registry=https://registry.npm.taobao.org
COPY . .
EXPOSE 8003
RUN ["npx", "nuxt", "build"]
CMD ["npx", "nuxt", "start"]